import {
	Api
} from '@/common/api'
import {
	ApiBase
} from '@/common/api-base.js';


class DeptClass extends ApiBase {
    listAllDept(query) {
    	return Api.get(`${this._namespace}/dept/allList`,query);
    }
	getDeptInfo(deptId) {
		return Api.get(`${this._namespace}/dept/dept/info/${deptId}`);
	}

}

export const DeptClassApi = new DeptClass('/system')
